<?php
$this->breadcrumbs=array(
	'Cartridges'=>array('index'),
	$model->id,
);

$this->menu=array(
	array('label'=>'List Cartridge', 'url'=>array('index')),
	array('label'=>'Create Cartridge', 'url'=>array('create')),
	array('label'=>'Update Cartridge', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Cartridge', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Cartridge', 'url'=>array('admin')),
	array('label'=>'Fill Cartridge', 'url'=>array('fill', 'id'=>$model->id)),
	array('label'=>'Broken Cartridge', 'url'=>array('broken', 'id'=>$model->id)),
	array('label'=>'Empty Cartridge', 'url'=>array('empty', 'id'=>$model->id)),	
	array('label'=>'Move Cartridge', 'url'=>array('move', 'id'=>$model->id)),	
);
?>

<h1>View Cartridge #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'model',
		'resource',
		'state',
		'compatible',
		'place_id',
		 array(            
            'label'=>'place',
            'type'=>'raw',
            'value'=>$model->place->name
			)
		
	),
)); ?>
